#ifndef _Q_COMMON_H
#define _Q_COMMON_H


#define Q_HASH_TABLE_SIZE 256

#define Q_MAX_SYMBOL_LENGTH 256
#define Q_MAX_VAR_NAME_LENGTH 256

/* functions results */
#define Q_STATUS_OK                  0
#define Q_STATUS_FATAL              -1
#define Q_STATUS_ALREADYEXISTS      -2
#define Q_STATUS_TYPE_NOT_EXIST     -3



int q_hashname(const char* name);
int q_prepstring(char* str, int size, const char* start, const char* end);
#endif
